{% set isNav = true %} {% extends "./layout/layout.html" %} {# 引入宏 #} {% import './macro/blog-list.html' as list %} {% import
'./macro/loadMore.html'as loadBtn %} {% block headCss %}
<link rel="stylesheet" href="/css/profile.css"> {% endblock %} {% block content %}

<div class="container">
  <h2>广场页</h2>
  <div class="item-wrapper">
    {% for item in blogList %} {{ list.list(item) }} {% endfor %}
  </div>
  {{loadBtn.loadMore(
  pageIndex,
  pageSize,
  count,
  api = '/api/blog/loadSquareMore/'
) }}
</div>
{% endblock %} {% block js %} {% endblock %}